#ifndef MAINMENU_H
#define MAINMENU_H
#include <QMainWindow>
#include "usualbutton.h"
#include "picbutton.h"
#include "gameseting.h"
#include "helpui.h"
namespace Ui {
class MainMenu;
}

class MainMenu : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainMenu(QWidget *parent = 0);
    ~MainMenu();
    //    背景图
    void paintEvent(QPaintEvent *event);//重写绘图事件

private:
    Ui::MainMenu *ui;
    picButton * startBTN;//开始游戏按钮
    picButton * helpBTN;//帮助按钮
    picButton * quitBTN;//退出按钮
    GameSeting * gseting;
    HelpUI * help;
};

#endif // MAINMENU_H
